package com.example.check_oa.model.mapper;

import com.example.comment_oa.pojos.attendance.Early;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos_vo.attendanceVo.EarlyVo;
import com.example.comment_oa.pojos_vo.attendanceVo.EarlyVo2;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author cjl
* @description 针对表【early】的数据库操作Mapper
* @createDate 2022-10-27 16:02:15
* @Entity com.example.check_oa.model.pojo.Early
*/
@Mapper
public interface EarlyMapper extends BaseMapper<Early> {
    //某月普通早退
    List<Early> attenEarly(@Param("userNo")String userNo, @Param("is")int is, @Param("day")String day);
    //某月严重早退
    List<Early> attenBigEarly(@Param("userNo")String userNo, @Param("is")int is, @Param("day")String day);
    //部门早退
    List<EarlyVo> byDeptEarly(@Param("day")String day);
    //月早退集合
    List<EarlyVo2> mouthEarlyList(@Param("day")String day);
}




